package com.design.pattern.facade;

/**
 * Created by Administrator on 2016/5/17.
 * 门面类
 */
public class ModernPostOffice {
    LetterProcedure procedure = new LetterProcedureImpl();

    public void writeLetter(String content,String address){
        //Step.1
        procedure.writeContent(content);
        //Step.2
        procedure.writeEnvelope(address);
        //Step.3
        procedure.LetterIntoEnvelope();
        //Step.4
        procedure.sendLentter();
    }
}
